package com.lagou.service;

import com.lagou.dao.UserDAO;
import com.lagou.domain.User;

import java.sql.SQLException;

public class LoginService {

    public boolean isUser(User user) throws SQLException {
        return UserDAO.find(user);
    }
}
